package com.czxy.enterprise.feign;

import com.czxy.domain.TbPhoto;
import com.czxy.domain.TbUser;
import com.czxy.findjob.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "user-service",path = "/user")
public interface UserFeign {
    @GetMapping("/{id}")
    public BaseResult<TbUser> findById(@PathVariable("id") Integer id);
}
